package config

import (
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	AdminRpc       zrpc.RpcClientConf
	CollegeRpc     zrpc.RpcClientConf
	MajorRpc       zrpc.RpcClientConf
	ClassRpc       zrpc.RpcClientConf
	StudentRpc     zrpc.RpcClientConf
	ResultRpc      zrpc.RpcClientConf
	PersonalityRpc zrpc.RpcClientConf
	QuestionRpc    zrpc.RpcClientConf

	JwtAuth struct {
		AccessSecret string
		AccessExpire int64
	}

	Redis struct {
		Host     string
		Password string
		Db       int
	}
}
